USE [SDLITS]
GO

/****** Object:  Table [dbo].[Location]    Script Date: 08/21/2014 14:43:21 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Location](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[deviceid] [nvarchar](50) NULL,
	[memcardno] [nvarchar](50) NULL,
	[latitude] [nvarchar](50) NULL,
	[longitude] [nvarchar](50) NULL,
	[realtime] [nvarchar](50) NULL,
 CONSTRAINT [PK_Location] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


USE [SDLITS]
GO

/****** Object:  Table [dbo].[AppFeedback]    Script Date: 08/21/2014 14:43:29 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[AppFeedback](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[memcardno] [nvarchar](50) NULL,
	[feedback] [nvarchar](1000) NULL,
 CONSTRAINT [PK_AppFeedback] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


USE [SDLITS]
GO

/****** Object:  Table [dbo].[AppException]    Script Date: 08/21/2014 14:43:32 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[AppException](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[memcardno] [nvarchar](50) NULL,
	[stacktrace] [nvarchar](2000) NULL,
 CONSTRAINT [PK_AppException] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


USE [SDLITS]
GO

/****** Object:  Table [dbo].[MemberCarInfo]    Script Date: 08/21/2014 14:43:36 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[MemberCarInfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[memcardno] [nvarchar](50) NULL,
	[carplatenumber] [nvarchar](50) NULL,
	[toprovince] [nvarchar](50) NULL,
	[tocity] [nvarchar](50) NULL,
	[toregion] [nvarchar](50) NULL,
	[fromprovince] [nvarchar](50) NULL,
	[fromcity] [nvarchar](50) NULL,
	[fromregion] [nvarchar](50) NULL,
	[validdate] [nvarchar](50) NULL,
	[invaliddate] [nvarchar](50) NULL,
 CONSTRAINT [PK_MemberCarInfo] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


